<div id="ajouterpanneau">
	<div class = "row">
		<form class="col-md-12 form-horizontal" name="AjoutHotelForm" novalidate="" ng-submit="ajout()">
			
			<div class="row">
				<div class="col-md-10">
					<div class="form-group" ng-class="{ 'has-warning': (AjoutHotelForm.name.$error.required)}">
						<label class="col-sm-3 control-label" for="IName">Nom de l'hôtel</label>
						<div class="col-sm-7">
							<input name="name" autofocus type="text" ng-model="IName" class="form-control" id="IName" placeholder="Entrez le nom de l'hôtel" required="" >
							<span class="text-warning" ng-show="AjoutHotelForm.name.$dirty && AjoutHotelForm.name.$error.required">Champs obligatoire</span>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-10">
					<div class="form-group" ng-class="{ 'has-warning': (AjoutHotelForm.adresse.$error.required)}">
						<label class="col-sm-3 control-label" for="IAdresse">Adresse de l'hôtel</label>
						<div class="col-sm-7">
							<input name="adresse" type="text" ng-model="IAdresse" class="form-control" id="IAdresse" placeholder="Entrez l'adresse de l'hôtel" required="" >
							<span class="text-warning" ng-show="AjoutHotelForm.adresse.$dirty && AjoutHotelForm.adresse.$error.required">Champs obligatoire</span>
						</div>
					</div>
				</div>
			</div>
			
			<div class="row">
				<div class="col-md-10">
					<div class="form-group" ng-class="{ 'has-warning': (AjoutHotelForm.classification.$error.required)}">
						<label class="col-sm-3 control-label" for="IClassification">Classification</label>
						<div class="col-sm-7">
							<select ng-options="item as item for item in values" class="form-control" name="classification" ng-model="IClassification" id="IClassification" required="" ></select>
					        <span class="text-warning" ng-show="AjoutHotelForm.classification.$dirty && AjoutHotelForm.classification.$error.required">Champs obligatoire</span>
						</div>
					</div>
				</div>
			</div>
			
			<div class="col-sm-offset-3 col-sm-9">
				<button type="submit" ng-disabled="AjoutHotelForm.$invalid" class="btn btn-primary">Valider</button>
			</div>
			
		</form>
	</div>
</div>
